﻿//using Kingdee.BOS.App.Data;
//using Kingdee.BOS.Core.CommonFilter;
//using Kingdee.BOS.Core.DynamicForm;
//using Kingdee.BOS.Core.DynamicForm.PlugIn;
//using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
//using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel;
//using Kingdee.BOS.Core.List.PlugIn;
//using Kingdee.BOS.Core.Metadata.EntityElement;
//using Kingdee.BOS.Core.Metadata.FieldElement;
//using Kingdee.BOS.Core.Report;
//using Kingdee.BOS.JSON;
//using Kingdee.BOS.Orm.DataEntity;
//using Kingdee.BOS.Util;
//using Newtonsoft.Json;
//using Newtonsoft.Json.Linq;
//using System;
//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Data;
//using System.Linq;
//using System.Text;

//namespace CB.KM.ZH.SalOutstockGenerateZeroCostBatchMaintain3
//{
//    [Description("【零成本批量维护列表插件】打开成本条件选择"), HotUpdate]
//    public class GetCostData : AbstractListPlugIn
//    {
//        public override void BarItemClick(BarItemClickEventArgs e)
//        {
//            base.BarItemClick(e);
//            //获取成本数据
//            if (e.BarItemKey.EqualsV1("btnGetCostData"))
//            {
//                try
//                {
//                    string pageId = Guid.NewGuid().ToString();
//                    DynamicFormShowParameter formPa = new DynamicFormShowParameter();
//                    formPa.FormId = "UUEI_SelectCostBillConditionForm";
//                    formPa.PageId = pageId;
//                    formPa.OpenStyle.ShowType = ShowType.Modal;
//                    this.View.ShowForm(formPa,a=> {
//                        View.Refresh();
//                    });
//                }
//                catch (Exception ex)
//                {
//                    View.ShowErrMessage(ex.Message);
//                }
//            }
//        }

//    }

//}
